<!DOCTYPE html>
<html>
	<head>
		<meta charset="utf-8">
		<title></title>
	</head>
	<body>
		<script>
			//报错
			import {'f' + 'oo'}from 'my_module';
			
			//报错
			let module = 'my_module';
			import {foo} from module;
			
			//报错
			if(x === 1){
				import{foo} from 'module1';
			}else{
				import{foo} from 'module2';
			}
			
		</script>
	</body>
</html>
